package org.boulderfoodrescue.webapp.client.old.viewer;

import java.util.List;

import org.boulderfoodrescue.webapp.shared.Place;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface ViewerServiceAsync {
  void savePlaces(List<Place> places, AsyncCallback<List<Long>> callback);

  void getPlaces(AsyncCallback<List<Place>> callback);

  void savePlace(Place place, AsyncCallback<Long> callback);

  void getAllPlaces(AsyncCallback<List<Place>> callback);

  void removePlace(Place place, AsyncCallback<Boolean> callback);
}
